Add vLLM multi-instance CPU benchmark skill#81
Open
rjauhari2 wants to merge 1 commit into
Open
Conversation
Adds `vllm-multiinstance`: benchmarks a vLLM CPU image on AMD EPYC by running N vLLM instances (each pinned to 32 physical cores) behind an NGINX load balancer, driving load with guidellm via ansible, and reporting peak aggregate memory (podman stats) + end-to-end throughput/latency across models, concurrency rates, and instance counts. The benchmark harness is vendored with the skill; only podman + ansible are required. Robust on leaner hosts: a host preflight (check-host.sh) fails fast with actionable guidance on unresolvable image short-names, missing rootless cgroup cpuset delegation, and CNI cniVersion mismatch; start.sh auto-downgrades the CNI conflist, guards static-IP fallback, and fast-fails dead containers instead of hanging the health wait; run_sweep.sh auto-detects missing passwordless sudo and runs ansible/guidellm rootless (ansible_become=false). Contents: SKILL.md, skill-card.md, README.md, reference.md, vendored harness/, scripts/; registered in .claude-plugin/marketplace.json (+ regenerated .cursor-plugin manifest); behavioral eval at eval/behavioral/tests/test_vllm_multiinstance.py. Testing: structural gate (check.sh) passes with 0 errors; behavioral eval (LLM-judged, sonnet) 5/5 passed -- covers sweep sizing, the guidellm.log-vs-benchmarks.json score rule, host-preflight fail-fast, image short-name remediation, and rootless/become auto-detection. Signed-off-by: Rahul Jauhari <rahul.jauhari@amd.com> Co-authored-by: Cursor <cursoragent@cursor.com> Change-Id: Ifa419ea79793fcfb303b6f1cc657539b22622f8b
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds
vllm-multiinstance: benchmarks a vLLM CPU image on AMD EPYC by running N vLLM instances (each pinned to 32 physical cores) behind an NGINX load balancer, driving load with guidellm via ansible, and reporting peak aggregate memory (podman stats) plus end-to-end throughput/latency across models, concurrency rates, and instance counts. The benchmark harness is vendored with the skill; only podman + ansible are required.It is robust on leaner hosts:
check-host.sh) fails fast with actionable guidance on unresolvable image short-names, missing rootless cgroup cpuset delegation, and CNIcniVersionmismatch.start.shauto-downgrades the CNI conflist, guards static-IP fallback, and fast-fails dead containers instead of hanging the health wait.run_sweep.shauto-detects missing passwordless sudo and runs ansible/guidellm rootless (ansible_become=false).Contents
skills/vllm-multiinstance/:SKILL.md,skill-card.md,README.md,reference.md, vendoredharness/, andscripts/..claude-plugin/marketplace.json(and regenerated.cursor-plugin/marketplace.json).eval/behavioral/tests/test_vllm_multiinstance.py.Testing
.github/scripts/check.sh) passes with 0 errors and reports the Cursor marketplace manifest is up to date.guidellm.log-vs-benchmarks.jsonscore rule, host-preflight fail-fast, image short-name remediation, and rootless/become auto-detection.Made with Cursor